#pragma once

const char* const iniDialogPath = "dialog_path";
const char* const iniCursorPath = "cursor_path";
const char* const iniIconPath   = "icon_path";
const char* const iniMapPath   = "map_path";
const char* const iniMd2Path	="md2_path";
const char* const iniCardPath ="card_path";
const char* const iniscreenx = "screen_x";
const char* const iniScreeny = "screen_y";
const char* const iniServerIP ="server_ip";
const char* const iniServerPort="server_port";
const char* const iniGameTitle="game_title";

class IniFile
{
public:
	IniFile(void);
	static	bool	Load(const wchar_t* szPath);
	static	wstring GetWString(const char* szValue);
	static	string	GetString(const char* szValue);
	static	int		GetInt(const char* szValue);
	static	double	GetDouble(const char* szValue);
	~IniFile(void);
private:
	static map<string, string> m_mapValue;
};
